<?

define("SESSION_AUTHUSER", "SESSION_AUTHUSER");
define("SESSION_AUTHUSERID", "SESSION_AUTHUSERID");
define("SESSION_AUTHUSERNAME", "SESSION_AUTHUSERNAME");
define("SESSION_AUTHUSERROLE", "SESSION_AUTHUSERROLE");

class config
{
	public static function getValuesConfig()
	{
		$values = array();	

		/*Default Template style*/
		$values["DEFAULT_TEMPLATE"] = "default";

		/*Default page*/
		$values["DEFAULT_ACTION"] = "index";

		/*Default module*/
		$values["DEFAULT_CONTROLLER"] = "home";
		
		/*Default Login site*/
		$values["LOGINMODULE"] = "login";
		
		/*Default Error Module*/
		$values["ERRORMODULE"] = "ErrorModule";			
	
		/*Folder Files*/
		$values["FOLDER_FILES"] = "files";	
		
		/*Default set of Languages Expected to find. This set may change at admin
		tool CustomConfig*/
		$values["LANGUAGESAVAILABLE"]="en-us=English|pt-br=Portugues(Brasil)";
		
		
		$langs = array(
		 "pt"=>"pt",
		 "en"=>'en',
		 "jp"=>'jp');
		 
		 $values["LANGUAGES"]= $langs;		 
		 $values["ENABLE_LANGUAGE"]= true;


		/*SmtpServer*/
		$values["SMTPSERVER"]="localhost";		
	
		
		/**
		 * Esta opção configura a conexão automática ao banco de dados
		 */
		
		$values["ENABLE_DATABASE_CONNECTION"] = true;
		$values["DATABASE_CONNECTION_NAME"] = 'default';
		$values["DATABASE_FK"] = 'id';	
		$values["DATABASE_FIELD"] = 'nome';		
		
		/**
		 * Debug all errors in Error Module
		*/
		$values["DEBUG"] = false;

		
		$values["CACHE"] = false;	
		
		/**
		 * Tempo de expiração da autenticação caso inativa
		 */
		$values["CONFIG_AUTH_TIMEOUT"] = 3600 * 24; // 1 DIA	
		
		return $values;

	}
	
}
?>